<template>
    <view class="content">
		<page-head :title="i18n.main.reward"></page-head>
		<image src="../../static/tabbar/return.png" mode="" class="page-return" @tap="back"></image>
    </view>
</template>

<script>
	import service from '../../service.js';
	import pageHead from '../../components/page-head.vue';
	export default {
		computed: {
			i18n () {
				return this.$t('index');
			}
		},
		components: {
			pageHead
        },
		data() {
			return {
				token: uni.getStorageSync('token'),
				lang: uni.getStorageSync('lang'),
				title: '',
			};
		},
		onShow:function(){
			uni.setNavigationBarTitle({
				title: this.i18n.main.reward
			})
			
		},
		methods:{
			back(){
				uni.switchTab({
					url: '/pages/main/user'
				})
			}
		}
    }
</script>

<style lang="scss">
	.content{
		padding: 0;
		background: #F2F2F2;
	}
	.back_img{
		margin: 0;
		height: 100%;
	}
</style>